
var React = require('react');
var ReactDOM = require('react-dom');

var Hello =  React.createClass({
    render:function(){
        return(
            <span> 你好，react </span>
        )

    }
})

ReactDOM.render(
    <Hello />,document.getElementById('example')
)